// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import Axios from 'axios';
import Utils from './libs/utils';
import http from './http/http'
import './libs/rem'
import FastClick from 'fastclick'
import mintUi from 'mint-ui';

Vue.use(mintUi);

FastClick.attach(document.body);
Vue.prototype.$utils = Utils;
Vue.prototype.$axios = Axios; //axios不支持use
Vue.prototype.$http = http; //统一请求
import './assets/css/base.css'; //初始化样式

Vue.config.productionTip = false;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});